/*
 * @Author:
 * @Date: 2022-11-24 13:56:00
 * @LastEditors:
 * @LastEditTime: 2023-06-16 19:14:14
 * @FilePath: \immoka-admin\src\api\order\withdraw.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name} , All Rights Reserved.
 */
import request from "@/utils/request";

export function listData(params) {
  return request({
    url: `/order/alipay-draw`,
    method: "get",
    params
  });
}

export function postRemark(id, form) {
  return request({
    url: `/order/alipay-draw/remark/${id}`,
    method: "post",
    data: form
  });
}

export function postCheck(form) {
  return request({
    url: `/order/alipay-draw/check`,
    method: "post",
    data: form
  });
}

export function getExcel(params) {
  return request({
    url: `/order/alipay-draw/export/excel`,
    method: "get",
    params
  });
}
export function getBankExcel(params) {
  return request({
    url: `/order/alipay-draw/export/bankinfo`,
    method: "get",
    params
  });
}

export function getExcelAsync(params) {
  return request({
    url: `/order/alipay-draw/export/excel/async`,
    method: "get",
    params
  });
}

//  理账师导出
export function getAccountManagerExcel(params) {
  return request({
    url: `/order/alipay-draw/export`,
    method: "get",
    params
  });
}
